package com.zycx.common.entity;

import com.zycx.common.entity.snowflake.SnowFlake;

/**
 * Description: 实体类工具
 * Created by zycx on 2018-12-02 21:38
 * Created with IntelliJ IDEA.
 */
public class EntityUtils {

    private static SnowFlake snowFlake = new SnowFlake(2, 3);


    /**  id生成器  */
    public static String getId() {
        return String.valueOf(snowFlake.nextId());
    }


}
